<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

	<ui:composition>
		<p:panel style="width:800px">
		<h:panelGrid columns="2">
			<h:outputText value="Nome:" />
			<h:outputText value="#{turma.nome}" />
			
			<h:outputText value="Escola da Turma:" />
			<h:outputText value="#{turma.escola.nome}" />
			
			<h:outputText value="Quantidade máxima de aluno:" />
			<h:outputText value="#{turma.capacidade}" />
			
			<h:outputText value="Quantidade Atual de alunos:" />
			<h:outputText value="#{turma.alunos.size()}" />
			
			<h:outputText value="Serie:" />
			<h:outputText value="#{turma.serie}" />
			
			<h:outputText value="Ano da turma:" />
			<h:outputText value="#{turma.ano}" />
		
		</h:panelGrid>
		</p:panel>
	
	
	</ui:composition>
</html>